Don't WARN about expected W+X pages on Xen
authorBen Hutchings <ben@decadent.org.uk>
Thu, 16 Mar 2017 03:05:43 +0000 (03:05 +0000)
committerBastian Blank <waldi@debian.org>
Fri, 22 Jun 2018 09:50:22 +0000 (10:50 +0100)
commita3c57d1bfb22b78184e30886e932f6fd4917ff22
treee965c9f87ff3cf7ff8c3bcd5113a15352c3028c8
parentf132447bdf18c76b4f6f5be07d3b69b16d02e77d
Don't WARN about expected W+X pages on Xen

Currently Xen PV domains (or at least dom0) on amd64 tend to have a
large number of low kernel pages with W+X permissions.  It's not
obvious how to fix this, and we're not going to get any new
information by WARNing about this, but we do still want to hear about
other W+X cases.  So add a condition to the WARN_ON.

Gbp-Pq: Topic debian
Gbp-Pq: Name amd64-don-t-warn-about-expected-w+x-pages-on-xen.patch
arch/x86/mm/dump_pagetables.c